package com.fqgj.xjd.user.entity;
import com.fqgj.common.entity.BaseEntity;

/**
* User: sm
* Date: 2018-04-12
* Time: 16:39:21.298
* TableDesc:
*/
public class UserThirdPartEntity extends BaseEntity {

    private Long id;

    /**
    *三方账号
    */
    private String openId;
    /**
    *用户编号
    */
    private String userCode;
    /**
    *用户来源 QQ, WEI_BO, WE_CHAT, ALI_PAY
    */
    private String origin;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public UserThirdPartEntity setId(Long id) {
        this.id = id;
        return this;
    }

    public  String getOpenId(){
        return this.openId;
    }

    public  UserThirdPartEntity setOpenId(String openId){
        this.openId = openId;
        return this;
    }

    public  String getUserCode(){
        return this.userCode;
    }

    public  UserThirdPartEntity setUserCode(String userCode){
        this.userCode = userCode;
        return this;
    }

    public  String getOrigin(){
        return this.origin;
    }

    public  UserThirdPartEntity setOrigin(String origin){
        this.origin = origin;
        return this;
    }
}
